package com.xdtech.hotel.service;

import java.util.List;

import com.xdtech.common.service.IBaseService;
import com.xdtech.hotel.model.CardType;
import com.xdtech.hotel.vo.CardTypeItem;

/**
 * 
 * @author max.zheng
 * @create 2015-04-04 11:10:07
 * @since 1.0
 * @see
 */
public interface CardTypeService extends IBaseService<CardType>{

	/**
	 * 保存更新信息
	 * @author max.zheng
	 * @create 2015-04-04 11:10:07
	 * @modified by
	 * @param item
	 * @return
	 */
	boolean saveOrUpdateCardType(CardTypeItem item);

	/**
	 * 加载记录信息
	 * @author max.zheng
	 * @create 2015-04-04 11:10:07
	 * @modified by
	 * @param newId
	 * @return
	 */
	CardTypeItem loadCardTypeItem(Long cardTypeId);

	/**
	 * 根据id号删除记录信息
	 * @author max.zheng
	 * @create 2015-04-04 11:10:07
	 * @modified by
	 * @param id
	 * @return
	 */
	boolean deleteCardTypeInfo(long id);

	/**
	 * 
	 * @author max.zheng
	 * @create 2015-04-04 11:10:07
	 * @modified by
	 * @param cardTypeIds
	 */
	boolean deleteCardTypeInfo(List<Long> cardTypeIds);

	/**
	 * 加载vo列表条目
	 * @author max.zheng
	 * @create 2015-4-18下午6:24:44
	 * @modified by
	 * @return
	 */
	List<CardTypeItem> loadItems();
}
